package edu.sctu.wulixia.month4and5.day20150529;

/**
 * Created by user05 on 2015/5/29.
 */
//利用String类的concat连接两个字符串
public class String_Concat {
    public static void main(String[] args) {
        String string1 = "The world ";
        String string2 = "is beautiful!";
        System.out.println(string1.concat(string2));

        String f ;
        f = String.format("Whis is this ?"+"this is a cat !");
        System.out.println(f);
    }
}
